from django.db import models

# Create your models here.
class Info(models.Model):
    id = models.IntegerField(primary_key=True)
    url = models.CharField(max_length=255)
    title = models.CharField(max_length=100)
    smoney = models.IntegerField()
    emoney = models.IntegerField()
    city = models.CharField(max_length=255)
    release_time = models.DateTimeField()
    job_type = models.CharField(max_length=255)
    syear = models.IntegerField()
    eyear = models.IntegerField()
    edu = models.CharField(max_length=255)
    groups = models.CharField(max_length=255)
    content = models.TextField()
    adds = models.CharField(max_length=255)
    label = models.CharField(max_length=255)
    source = models.CharField(max_length=255)
    class Meta:
        db_table="project"

class uesr(models.Model):
    name = models.CharField(max_length=255)
    password = models.CharField(max_length=100)